package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.AddCourseTeacherDto;
import com.xuecheng.content.model.dto.EditCourseTeacherDto;
import com.xuecheng.content.model.po.CourseTeacher;

import java.util.List;

public interface CourseTeacherService {

    /**
     * 查询教师信息
     * @param courseId
     * @return
     */
    public List<CourseTeacher> selectTeacherList(Long courseId);

    /**
     * 添加教师信息
     * @param addCourseTeacherDto
     * @param companyId
     * @return
     */
    CourseTeacher insertTeacherInfo(AddCourseTeacherDto addCourseTeacherDto, Long companyId);

    /**
     * 修改教师信息
     * @param editCourseTeacherDto
     * @param companyId
     * @return
     */
    CourseTeacher updateTeacherInfo(EditCourseTeacherDto editCourseTeacherDto, Long companyId);

    /**
     * 删除教师信息
     * @param courseId
     * @param courseTeacherId
     * @param companyId
     */
    void deleteTeacherInfo(Long courseId, Long courseTeacherId, Long companyId);

    /**
     * 根据id批量删除
     * @param teacherIds
     */
    void deleteBatchIds(List<Long> teacherIds);
}
